.container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.header {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
}

.title {
  color: #ffffff;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.closeBtn {
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 32px;
  height: 32px;
}

.profileCard {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avatarSection {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nameInfo {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nickname {
  font-size: 18px;
  font-weight: 600;
}

.userId {
  font-size: 14px;
  color: #888888;
}

.infoSection {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.infoItem {
  display: flex;
  align-items: flex-start;
}

.label {
  width: 60px;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.value {
  flex: 1;
  font-size: 14px;
  color: #333;
  word-break: break-word;
}

.tagSection {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tagTitle {
  font-size: 14px;
  color: #666;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: #f5f5f5;
  border-radius: 20px;
  font-size: 12px;
  color: #333;
}

.actionButtons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.addFriendBtn {
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  max-width: 200px;
}

.addFriendBtn:hover {
  background-color: #40a9ff;
}

.addFriendBtn:disabled {
  background-color: #bae7ff;
  cursor: not-allowed;
}

.alreadyFriendBtn {
  background-color: #f0f0f0;
  color: #666;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 14px;
  width: 100%;
  max-width: 200px;
}

.loading,
.error {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #666;
}
